package com.example.lotteryticketdev.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.lotteryticketdev.entity.LuckyBall;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * (TableLuckyBall)表数据库访问层
 *
 * @author makejava
 * @since 2023-09-25 19:26:00
 */
@Mapper
public interface LuckyBallDao extends BaseMapper<LuckyBall> {

    @Select("select max(code) from _table_lucky_ball where 1=1")
    Integer selectMaxCode();


}

